<%@ page import="com.pandorasoft.shop.Employee" %>



<div class="fieldcontain ${hasErrors(bean: employeeInstance, field: 'gendar', 'error')} ">
	<label for="gendar">
		<g:message code="employee.gendar.label" default="Gendar" />
		
	</label>
	<g:textField name="gendar" value="${employeeInstance?.gendar}" />
</div>

<div class="fieldcontain ${hasErrors(bean: employeeInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="employee.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${employeeInstance?.name}" />
</div>

<div class="fieldcontain ${hasErrors(bean: employeeInstance, field: 'phone', 'error')} ">
	<label for="phone">
		<g:message code="employee.phone.label" default="Phone" />
		
	</label>
	<g:textField name="phone" value="${employeeInstance?.phone}" />
</div>

<div class="fieldcontain ${hasErrors(bean: employeeInstance, field: 'position', 'error')} ">
	<label for="position">
		<g:message code="employee.position.label" default="Position" />
		
	</label>
	<g:textField name="position" value="${employeeInstance?.position}" />
</div>

<div class="fieldcontain ${hasErrors(bean: employeeInstance, field: 'shop', 'error')} required">
	<label for="shop">
		<g:message code="employee.shop.label" default="Shop" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="shop.id" from="${com.pandorasoft.shop.Shop.list()}" optionKey="id" value="${employeeInstance?.shop?.id}"  />
</div>

